package com.example.administrator.zhongyichou.net.presentor;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.PartMap;
import retrofit2.http.Url;

public interface UploadFileAPI {
    @Multipart
    @POST("api.php")
    Observable<ResponseBody> upload(@PartMap Map<String, RequestBody> map);
}
